package com.teamall.web.family.db.dao.mapper;

import com.teamall.web.family.db.arg.FamilyVisitedLogArg;
import com.teamall.web.family.db.po.FamilyVisitedLogPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface IFamilyVisitedLogMapper {
    
    List<Integer> countByArg(FamilyVisitedLogArg arg);

    List<FamilyVisitedLogPO> selectByArg(FamilyVisitedLogArg arg);

    FamilyVisitedLogPO selectByPrimaryKey(Integer id);

    List<FamilyVisitedLogPO> selectByArgAndPage(FamilyVisitedLogArg arg, RowBounds rowBound);

    int insert(FamilyVisitedLogPO record);

    int insertSelective(FamilyVisitedLogPO record);

    int insertBatch(@Param("list") List<FamilyVisitedLogPO> records);

    int updateByArgSelective(@Param("record") FamilyVisitedLogPO record,
            @Param("arg") FamilyVisitedLogArg arg);

    int updateByArg(@Param("record") FamilyVisitedLogPO record,
            @Param("arg") FamilyVisitedLogArg arg);

    int updateByPrimaryKeySelective(FamilyVisitedLogPO record);

    int updateByPrimaryKey(FamilyVisitedLogPO record);
    
    int deleteByArg(FamilyVisitedLogArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}